package com.cloudbroker.bcs.platform.ltb.bizexport.t2.social;

import com.cloudbroker.bcs.platform.ltb.bizapi.constants.IFSFunctionIds;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.viewpoint.ViewPointBizService;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.viewpoint.result.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.viewpoint.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.t2service.social.ViewPointT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by world on 16/7/11.
 */
@Service
public class ViewpointT2 implements ViewPointT2BizService {

    @Resource
    private ViewPointBizService viewPointBizService;

    @Override
    public ViewpointSaveResult funcViewpointSaveResult(ViewpointSaveForm form) {
        return viewPointBizService.funcSaveViewpoint(form);
    }

    @Override
    public ViewpointList funcViewpointList(@ServiceParam("param") ViewpointQueryForm form) {
        return viewPointBizService.funcViewpointList(form);
    }

    @Override
    public ViewpointRecomList funcViewpointRecomList(@ServiceParam("param") ViewpointRecomQueryForm form) {
        return viewPointBizService.funcViewpointRecomList(form);
    }

    @Override
    public ViewpointUpvoteResult funcUpvoteViewpoint(@ServiceParam("param")ViewpointUpvoteForm form) {
        return viewPointBizService.funcViewpointUpvote(form);
    }

    @Override
    public ViewpointShareResult funcShareViewpoint(@ServiceParam("param")ViewpointShareForm form) {
        return viewPointBizService.funcViewpointShare(form);
    }

    @Override
    public ViewpointSaveResult funcUpdateViewpoint(@ServiceParam("param")ViewpointUpdateForm form) {
        return viewPointBizService.funcViewpointUpdate(form);
    }

    @Override
    public ViewpointRecomList funcQueryAdviserViewpoint(@ServiceParam("param") AdviserViewpointQueryForm form) {
        return viewPointBizService.funcQueryAdviserViewpoint(form);
    }

    @Override
    public ViewpointRecomList funcQueryRecommendViewpoint(@ServiceParam("param") ViewpointRecomQueryForm form) {
        return viewPointBizService.funcQueryRecommendViewpoint(form);
    }

    @Override
    public ViewpointSaveResult funcCloseViewpoint(@ServiceParam("param") ViewPointIdForm form){
        return viewPointBizService.funcCloseViewpoint(form);
    }

    @Override
    public ViewpointSaveResult funcCancelCloseViewpoint(@ServiceParam("param") ViewPointIdForm form) {
        return viewPointBizService.funcCancelCloseViewpoint(form);
    }

    @Override
    public ViewpointDetailResult funcViewpointDetail(@ServiceParam("param") ViewPointIdForm form) {
        return viewPointBizService.funcViewpointDetail(form);
    }

    @Override
    public ViewpointTagListResult funcQueryViewpointTagList(@ServiceParam("param") ViewpointTagQueryForm form){
        return viewPointBizService.funcQueryViewpointTag(form);
    }

    @Override
    public ViewpointTopicListResult funcQueryViewpointTopicList(@ServiceParam("param") ViewpointTopicQueryForm form){
        return viewPointBizService.funcQueryViewpointTopic(form);
    }

    public ViewpointTopicSaveResult funcSaveViewpointTopic(@ServiceParam("param")ViewpointTopicSaveForm form){
        return viewPointBizService.funcSaveViewpointTopic(form);
    }

    public ViewpointTopicSaveResult funcUpdateViewpointTopic(@ServiceParam("param")ViewpointTopicUpdateForm form){
        return viewPointBizService.funcUpdateViewpointTopic(form);
    }

    public ViewpointTopicSaveResult funcCloseViewpointTopic(@ServiceParam("param")ViewpointTopicCloseForm form){
        return viewPointBizService.funcCloseViewpointTopic(form);
    }

    public ViewpointTagSaveResult funcCloseViewpointTag(@ServiceParam("param")ViewpointTagCloseForm form){
        return viewPointBizService.funcCloseViewpointTag(form);
    }

    public ViewpointTagSaveResult funcUpdateViewpointTag(@ServiceParam("param")ViewpointTagUpdateForm form){
        return viewPointBizService.funcUpdateViewpointTag(form);
    }

    public ViewpointTagSaveResult funcSaveViewpointTag(@ServiceParam("param")ViewpointTagForm form){
        return viewPointBizService.funcSaveViewpointTag(form);
    }
    public ViewpointTopicDetailResult funcViewpointTopicDetail(ViewpointTopicDetailForm form) {
        return viewPointBizService.funcViewpointTopicDetail(form);
    }

    public ViewpointRecomList funcViewpointSearch(ViewpointQueryForm form) {
        return viewPointBizService.funcViewpointSearch(form);

    }
}
